Skip to content

[Copr] Add build status badge#11940

Open
LuxologyGG wants to merge 1 commit into
badges:masterfrom
LuxologyGG:feat/auto-badge-issue-6078
Open

[Copr] Add build status badge#11940
LuxologyGG wants to merge 1 commit into
badges:masterfrom
LuxologyGG:feat/auto-badge-issue-6078

Conversation

@LuxologyGG

Copy link
Copy Markdown

Summary

Adds a new build status badge for the Fedora Copr build system.

Closes #6078

Badge endpoint

/copr/build/:owner/:project/:package

Examples:

  • User project: /copr/build/msuchy/nanoblogger/nanoblogger
  • Group project: /copr/build/@copr/copr/copr-backend

Optional server query parameter defaults to https://copr.fedorainfracloud.org.

Implementation

  • services/copr/copr.service.js — fetches latest build state from Copr API v3
  • services/copr/copr.service.spec.js — unit tests for URL, transform, and render logic
  • services/copr/copr.tester.js — live and mocked service tests

Tests

  • npm run test:core -- --grep Copr — 11 passing
  • npm run test:services -- --only=Copr — 4 passing

Implements a build badge for the Fedora Copr build system using the
Copr API v3 package endpoint.

Closes badges#6078
@github-actions

Copy link
Copy Markdown
Contributor
Messages
📖 ✨ Thanks for your contribution to Shields, @LuxologyGG!

Generated by 🚫 dangerJS against 8121c83

@LuxologyGG LuxologyGG marked this pull request as ready for review June 20, 2026 00:36
Copilot AI review requested due to automatic review settings June 20, 2026 00:36

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Badge request: Copr Build System

3 participants